<?php

namespace api\controllers;

use Yii ;
use yii\rest\Controller;

/**
 * Site controller
 */
class SiteController extends Controller
{
    public function actions()
    {
        return [
            'error' => [
                'class' => 'yii\web\ErrorAction',
            ],
        ];
    }
    /**
     * {@inheritdoc}
     */
  public function actionIndex(){
  	return ['hello world'];
  }

}
